package com.handyshop.mall.dubbo.commodity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.handyshop.mall.dubbo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(value = "商品品牌")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "nrs_brand")
public class Brand extends BaseEntity {
    /**
     * 品牌名称
     */
    @TableField(value = "`name`")
    @ApiModelProperty(value = "品牌名称")
    private String name;

    /**
     * 品牌名称(第二语言)
     */
    @TableField(value = "en_name")
    @ApiModelProperty(value = "品牌名称(第二语言)")
    private String enName;

    /**
     * 型号
     */
    @TableField(value = "models")
    @ApiModelProperty(value = "型号")
    private String models;

    /**
     * 拼音首字母
     */
    @TableField(value = "`initial`")
    @ApiModelProperty(value = "拼音首字母")
    private String initial;

    /**
     * 品牌网址
     */
    @TableField(value = "url")
    @ApiModelProperty(value = "品牌网址")
    private String url;

    /**
     * 品牌介绍
     */
    @TableField(value = "`desc`")
    @ApiModelProperty(value = "品牌介绍")
    private String desc;

    /**
     * 品牌图片标识
     */
    @TableField(value = "logo")
    @ApiModelProperty(value = "品牌图片标识")
    private String logo;

    /**
     * 品牌国家
     */
    @TableField(value = "country")
    @ApiModelProperty(value = "品牌国家")
    private String country;

    /**
     * 品牌设置
     */
    @TableField(value = "setting")
    @ApiModelProperty(value = "品牌设置")
    private String setting;

    /**
     * 是否失效(1:是;0:否)
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "是否失效(1:是;0:否)")
    private Boolean status;

    /**
     * 排名
     */
    @TableField(value = "sort")
    @ApiModelProperty(value = "排名")
    private Integer sort;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_EN_NAME = "en_name";

    public static final String COL_MODELS = "models";

    public static final String COL_INITIAL = "initial";

    public static final String COL_URL = "url";

    public static final String COL_DESC = "desc";

    public static final String COL_LOGO = "logo";

    public static final String COL_COUNTRY = "country";

    public static final String COL_SETTING = "setting";

    public static final String COL_STATUS = "status";

    public static final String COL_SORT = "sort";

    public static final String COL_DELETE_FLAG = "delete_flag";

    public static final String COL_CREATOR_ID = "creator_id";

    public static final String COL_CREATOR = "creator";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}